package com.wzdigit.wms.basic.domain.transfer;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 拣货任务明细
 * </p>
 *
 * @author 
 * @since 2021-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_PICKTASK_DTL")
@KeySequence(value = "WMS_PICKTASK_DTL_SEQ", clazz = Integer.class)
public class PicktaskDtl extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 拣货任务明细ID
     */
    @TableId(value = "PICKTASK_DTL_ID",type = IdType.INPUT)
    private Integer picktaskDtlId;

    /**
     * 拣货任务ID
     */
    @TableField("PICKTASK_HEADER_ID")
    private Integer picktaskHeaderId;

    /**
     * 拣货任务行号
     */
    @TableField("PICKTASK_LINE_NO")
    private Integer picktaskLineNo;

    /**
     * 优先级
     */
    @TableField("PRIORITY")
    private Integer priority;

    /**
     * 订单预配ID
     */
    @TableField("DOC_PRE_ALOC_ID")
    private Integer docPreAlocId;

    /**
     * 单据明细ID
     */
    @TableField("DOC_DTL_ID")
    private Long docDtlId;

    /**
     * 任务下发标识
     */
    @TableField("DISPATCH_FLAG")
    private Integer dispatchFlag;

    /**
     * 任务领取人
     */
    @TableField("TASK_RECEIVER")
    private String taskReceiver;

    /**
     * 任务执行人
     */
    @TableField("TASK_EXECUTOR")
    private String taskExecutor;

    /**
     * 开始拣货时间
     */
    @TableField("BEGIN_PICK_TIME")
    private Date beginPickTime;

    /**
     * 结束拣货时间
     */
    @TableField("END_PICK_TIME")
    private Date endPickTime;

    /**
     * 计划拣货数量
     */
    @TableField("PLAN_QTY")
    private BigDecimal planQty;

    /**
     * 实际拣货数量
     */
    @TableField("CMP_QTY")
    private BigDecimal cmpQty;

    /**
     * 用户自定义字段1
     */
    @TableField("UDF1")
    private String udf1;

    /**
     * 用户自定义字段2
     */
    @TableField("UDF2")
    private String udf2;

    /**
     * 用户自定义字段3
     */
    @TableField("UDF3")
    private String udf3;

    /**
     * 用户自定义字段4
     */
    @TableField("UDF4")
    private String udf4;

    /**
     * 用户自定义字段5
     */
    @TableField("UDF5")
    private String udf5;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;

    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;
    
    /**
     * 库区
     */
    @TableField("ZONE_ID")
    private Integer zoneId;
    
    /**
     * 单据类别
     */
    @TableField("DOC_TYPE")
    private String docType;

}
